package main

import "github.com/gin-gonic/gin"

func server_8989() {
	r := gin.Default()
	r.GET("/user", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"data": "daxiongjun",
		})
	})
	r.Run(":8989")
}

func server_8888() {
	r := gin.Default()
	r.GET("/message", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"data": "hello",
		})
	})
	r.Run(":8888")
}

func main() {
	go server_8888()
	go server_8989()
	select {}
}
